package com.tutos.modules;

import com.google.inject.Key;
import com.google.inject.PrivateModule;
import com.google.inject.Scopes;
import com.tutos.ui.BaseMain;
import com.tutos.ui.MenuBase;
import com.tutos.ui.student.EditStudent;
import com.tutos.ui.student.MainStudent;
import com.tutos.ui.student.MensajeComponenteEstudiante;
import com.tutos.ui.student.MensajesRecibidosEnviadosEst;
import com.tutos.ui.student.MenuStudent;
import com.tutos.ui.student.SearchTutoria;
import com.tutos.ui.student.StudentAnnotation;
import com.tutos.ui.student.StudentMessages;

public class StudentModule extends PrivateModule{

	@Override
	protected void configure() {
		bind(BaseMain.class).annotatedWith(StudentAnnotation.class).to(MainStudent.class);
		bind(MenuBase.class).to(MenuStudent.class);
		bind(StudentMessages.class).in(Scopes.NO_SCOPE);
		bind(MensajeComponenteEstudiante.class).in(Scopes.NO_SCOPE);
		bind(MensajesRecibidosEnviadosEst.class).in(Scopes.NO_SCOPE);
		bind(EditStudent.class).in(Scopes.NO_SCOPE);
		bind(SearchTutoria.class).in(Scopes.NO_SCOPE);
		
		expose(Key.get(BaseMain.class,StudentAnnotation.class));
	}

}
